package com.lbx.util;

public class ResUtil {
        
        public static CommonRes<Object> commonRes(Integer code, String msg, Object data){
            return new CommonRes<Object>().Res(code,msg,data);
        }
    
        public static CommonRes<Object> failRes(Integer code,String msg){
           return commonRes(code,msg,null);
        }
        public static CommonRes<Object> successRes(Integer code,String msg,Object data){
           return commonRes(code,msg,data);
        }
    }
